package com.big.app.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.big.app.dto.HotelCommentDto;
import com.big.app.dto.HotelDto;
import com.big.app.entity.Hotel;
import com.big.app.entity.HotelOrder;

import java.util.List;

/**
 *  (Sight)表数据库访问层
 *
 * @author makejava
 * @since 2022-04-19 15:23:36
 */
public interface HotelDao extends BaseMapper<Hotel> {

        List<HotelDto> queryHotTop();
        List<HotelDto> search(String title);
        List<HotelCommentDto> queryComment(int id);
        int orderInsert(HotelOrder obj);
        int hotelLooks(int uid, int hid);
}

